﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Home.Master" AutoEventWireup="true"
    CodeBehind="EditRoute.aspx.cs" Inherits="Project.Admin.EditRoute" %>

<asp:Content ID="StatusLogin" ContentPlaceHolderID="StatusLogin" runat="server">
    Welcome:
    <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
    <asp:Button ID="Button1" runat="server" Text="Logout" OnClick="Button1_Click" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="Menulefs" runat="server">
    <ul>
        <li class="menu1"><a href="Admin.aspx">Menu</a></li>
        <li class="menu2"><span><a href="ListAccount.aspx">
            <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="ListAccount.aspx">List
                Account</a> </span>
            <li class="menu2"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="ListOrder.aspx">View
                    List Order</a></span></li>
            <li class="menu3"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="EditRoute.aspx">Edit
                    Route & Price</a></span></li>
            <li class="menu4"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="CreateTellers.aspx">Create
                    Tellers Account</a></span></li>
        </li>
    </ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div id="EditRoute">
        <h1>
            EDIT ROUTE & PRICE</h1>
        <br />
        <hr />
        <table style="width: 100%;">
            <tr>
                <td colspan="2">
                    <h3>
                        I.ROUTE</h3>
                </td>
            </tr>
            <tr>
                <td style="width: 319px"> 
            <h4>Step1: Add Location</h4>
                </td>
            </tr>
            <tr>
                <td style="width: 319px">
                    <li>New ID:</li>
                </td>
                <td>
                        <asp:Label ID="Label3" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 319px">
                    <li>New Location :</li>
                </td>
                <td>
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                      
                    </td>
                     
            </tr>
             <asp:Label ID="Label4" runat="server"></asp:Label>
        </table>
       
       
            
            
            <li>
                <asp:Button ID="Button2" runat="server" Text="ADD" onclick="Button2_Click1" 
                    Width="70px" />
            </li>
               
      

        <h4>
            2. ADD Route</h4>
            <li><span>New ID:</span>
                <asp:Label ID="Label6" runat="server"></asp:Label></li>
            <li>From
                <asp:Label ID="Label5" runat="server"></asp:Label>
                &nbsp;To
                <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="DataLocation" DataTextField="Location1"
                    DataValueField="Location1" AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:LinqDataSource ID="DataLocation" runat="server" ContextTypeName="Project.DataPOFDataContext"
                    EntityTypeName="" Select="new (Location1)" TableName="Locations">
                </asp:LinqDataSource>
                &nbsp; Distance:
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                &nbsp;<asp:Label ID="Label7" runat="server"></asp:Label>
                &nbsp;</li>
            <li>
                <asp:Button ID="Button3" runat="server" Text="ADD" onclick="Button3_Click1" 
                    Width="70px" />
            </li>
      
        <br />
        <hr />
        <h3>
            II. PRICE&nbsp;&nbsp;
        </h3>
        <p>
            &nbsp;</p>
    </div>
</asp:Content>
